Environment based data driven automated test engine for GUI applications

ABSTRACT

The invention includes a scriptable GUI test tool which generates a GUI map (or which includes a utility which generates a GUI map), at least one environment definition (parameter) file, at least one test data (driver) file, and an automated test engine. A separate environment definition file is provided for each feature of the GUI. Each environment definition file provides the abstract details required by the test engine in order to support common processes for different applications. The test data file is organized into rows of data where each row defines a single test and each column represents a parameter. The automated test engine is composed of a plurality of library modules written in the scripting language of the scriptable GUI test tool. The ATE is driven by the test data file and calls upon the GUI map and environment definition file. According to the presently preferred embodiment, the scriptable GUI test tool is WinRunner®. The environment definition files and the test data files are preferably generated with a spreadsheet program such a Microsoft Excel® and saved as comma delimited text files.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The invention relates to methods and apparatus for testing computer programs. More particularly, the invention relates to methods and apparatus for environment based data driven testing of computer programs which have a graphical user interface (GUI).

[0003] 2. Brief Description of the Prior Art

[0004] Computer programs consist of lines of individual instructions that are read and executed by a processor. Early computer programs were not “interactive”. They consisted of a set of instructions that were designed to be read and executed starting with the first instruction and ending with a last instruction. If one of the instructions contained an error, the processor would halt the program when it tried to execute the defective instruction. The programmer would then need to review all of the instructions to determine which one was defective. Although this task of manually “de-bugging” a computer program was tedious, it was possible because early computer programs were relatively short.

[0005] As computer programs grew in length and complexity, automated de-bugging tools became necessary. An early de-bugging tool would simply identify which instruction caused the program to halt. This was generally sufficient for debugging a simple linear program, but in the case of looping programs, an instruction might function in some modes and malfunction in other modes.

[0006] Today, even “simple” computer programs are very large, often consisting of millions of instructions. Moreover, most of today's computer programs are “interactive”, i.e. require interaction with the user of the program. Thus, a defective instruction in the program might only be discovered in the case of a particular user action. Furthermore, most of today's computer programs have a graphical user interface (GUI). A GUI typically includes various elements, referred to as “objects”, including “windows”, “menus”, “icons”, “dialog boxes”, “lists”, “radio buttons”, “check boxes”, “text entry fields”, etc. De-bugging a program that has a GUI is doubly complex because, in addition to the instructions for the program to carry out computing tasks, the program also includes instructions for managing the GUI.

[0007] There are several known testing tools for de-bugging GUI applications. One such tool is WinRunner® from Mercury Interactive Corporation, Sunnyvale, Calif. WinRunner® is a testing tool which verifies that GUI applications work as expected. By capturing, verifying and replaying user interactions automatically, WinRunner® identifies defects in multiple processes.

[0008] With WinRunner®, tests are created by recording user actions. As a test is recorded, check-points are created to compare expected outcomes with actual outcomes. Each time a test is recorded, a GUI map is created. The GUI map contains a list of all of the objects and object attributes used by the test. Each test is recorded using an editable test scripting language (TSL).

[0009] A disadvantage of most GUI testing tools, including WinRunner®, is that a separate test script must be created for each GUI application feature. Several thousand test cases (or steps) have to be executed manually with manual and/or visual verification of test results. Repetitive manual execution of test cases is required in order to verify correction of faults or to re-verify functionality of an application after any new production of the application under test. Record and replay operations for generating repeatable test cases require test script (code) modifications for each error found or new test case identified. The modifications themselves require thorough testing before the actual test result quality can be assured. New objects or fields that are added to the GUI application or objects that are moved or removed have a significant impact on all previously recorded test cases even though the behavior of the application has not changed.

[0010] Generally, the principles of data driven testing in the prior art include data for automatic test execution according to preprogrammed sequences. However, the data provided to drive the testing does not include data that can be used to define the environment. Taken together, the environment and associated behavior of GUI objects in that environment require specific code or test scripts to be generated and tested. New applications or modifications to an existing application under test cannot be implemented without significant test software development. A significant investment in manpower is required to implement, maintain and enhance the test software that is not reusable.

SUMMARY OF THE INVENTION

[0011] It is therefore an object of the invention to provide a data driven test engine for GUI applications.

[0012] It is also an object of the invention to provide a data driven test engine for GUI applications which is environment based.

[0013] It is another object of the invention to provide a data driven test engine for GUI applications which is automated.

[0014] It is yet another object of the invention to provide a data driven test engine for GUI applications which tests all of the features in a single test script.

[0015] It is another object of the invention to provide the maximum flexibility for test case generation, maintenance and execution required during the development and test cycle of a GUI software project.

[0016] It is still another object of the invention to reduce the investment in manpower to implement, maintain and enhance automated test software.

[0017] It is another object of the invention to provide a data driven test engine for GUI applications wheremodifications to the test engine are required only when a new behavior of an object on the GUI is introduced.

[0018] In accord with these objects which will be discussed in detail below, the methods and apparatus according to the invention include a scriptable GUI test tool which generates a GUI map (or which includes a utility that generates a GUI map), at least one environment definition (parameter) file, at least one test data (driver) file, and an automated test engine. As used herein when it is stated that a GUI test tools generates a GUI map it is to be understood that the GUI test tool may provide a separate utility which generates the GUI map.

[0019] A separate environment definition file is provided for each feature of the GUI. Each environment definition file provides the abstract details required by the test engine in order to support common processes for different applications. Because the test engine is not hard coded to know the details of the application or object being tested, specific variables are initialized and defined as external data via the environment definition file. Information such as Application Name, Launch Menu, Primary Window identification, Tab and related tab windows are identified in the “Environment” section of this file. The individual fields that appear in the application object are also defined in this file using the “Parameters” section. The behavior of the parameter is defined by assigning a “Type” definition that has already been implemented in the test engine. It is possible to maintain application version compatibility in a single environment definition file by identifying parameter elements that are new to a specific version of an application. The values found in the environment definition file are tightly bound to the logical names that are used in the GUI map.

[0020] The key to the structure of the test data file is the “Parameter” section of the environment definition file. The test data file is organized into rows of data where each row defines a single test and each column represents a parameter. Occasionally, multiple rows of data are required in order to facilitate or verify the results of an individual test. The data begins with a definition of the default values that are expected for each field (parameter). This single line of data is followed by one or more rows of individual data driven tests. Each row consists of standard fields and the data specific for each field of the object being tested. Standard fields include a Test ID, Preamble and Postamble action, Expected Result indication and a Comment. Preamble and Postamble actions are usually application specific and represent user actions required to establish a starting point for a test and the action to perform to execute the desired test. The test case ID is reported in a log file for tracking purposes. The expected results field indicates whether the test will pass completely or fail during data entry, during the execution of the preamble, postamble or during verification after the postamble action has been executed. Data that appears in the individual fields of a data driven test are specific for the parameter, operation or the use of the field. Fields can be ignored, changed, left alone or ignored for Query operations. Data can also represent multiple columns of a table structure.

[0021] The automated test engine (ATE) is composed of a plurality of library modules written in the scripting language of the scriptable GUI test tool. The ATE is driven by the test data file and uses the GUI map and environment definition file.

[0022] According to the presently preferred embodiment, the scriptable GUI test tool is WinRunner®. The environment definition files and the test data files are preferably generated with a spreadsheet program such a Microsoft Excel® and saved as comma delimited text files for use by the ATE.

BRIEF DESCRIPTION OF THE DRAWINGS

[0023]FIG. 1 is a schematic architectural overview of the invention;

[0024]FIG. 2 is a screen shot illustrating the layout of a driver file according to the invention;

[0025]FIG. 3 is a flow chart illustrating the steps in creating a driver file;

[0026]FIG. 4 is a screen shot illustrating the layout of a parameter file according to the invention; and

[0027]FIG. 5 is a flow chart illustrating the steps in creating a parameter file.

BRIEF DESCRIPTION OF THE APPENDIX

[0028] The included CDROM appendix contains the following files:

[0029] /

[0030] VoiceStation.xls

[0031] PeripheryBoards.xls

[0032] Engine/

[0033] Actions

[0034] Common2All

[0035] CustomSupport

[0036] General

[0037] HDMS_CM_ZincInit

[0038] obj_main

[0039] ParmSetCheck

[0040] PopUpHandler

[0041] Setbaselines

[0042] SiteInitV52

[0043] Test Init.

DETAILED DESCRIPTION

[0044] Turning now to FIG. 1, the methods and apparatus according to the invention include a scriptable GUI test tool 10 which generates GUI map 12, at least one environment definition (parameter) file 14, at least one test data (driver) file 16, and an automated test engine 18. According to the presently preferred embodiment, the GUI test tool 10 is WinRunner®.

[0045] As illustrated in FIG. 1, a GUI application 1 has y number of features. Each may include menu items, button bar items, windows, tabs and up to n number of GUI objects. GUI objects may include user input interface objects such as check boxes, radio buttons, text fields, etc.

[0046] The GUI map 12 generated by the test tool 10 includes the logical names and physical attributes for each of the GUI objects. A separate environment definition (parameter) file 14 is provided for each of the y number of GUI application features. Each parameter file 14 includes a feature environment definition which may include menus, windows, tab references and miscellaneous variables. The parameter file 14 also includes up to n number of object environment definitions. Each object environment definition includes a logical name, an indication of its position in the data file 16, x number of object behaviors, and miscellaneous information. According to the presently preferred embodiment, the parameter file 14 is saved as a comma delimited text file but it is created and managed as a spreadsheet file. The column and row structure inherent in a spreadsheet file make it easier to manage than a delimited text file. Two examples of a parameter file are contained on the CDROM appendix as a tab in Microsoft® Excel® spreadsheet files entitled PeripheryBoards.xls and VoiceStation.xls.

[0047] A separate test data (driver) file 16 is provided for each of z number of tests. The number of tests is selected by the user. Each test may be simple or complex. Generally, each test data file includes a test case ID, a preamble action, a postamble action, an expected result, a test case comment, and test data for each of n number of GUI objects. Two examples of a driver file are contained on the CDROM appendix as a tab in Microsoft® Excel® spreadsheet files entitled PeripheryBoards.xls and VoiceStation.xls.

[0048] A single test engine script 18 is provided for each GUI application to be tested. The test engine script 18 interacts with the WinRunner® application 10 and the GUI map 12. It also reads from the parameter file 14 and the driver file 16. According to a presently preferred embodiment, a test engine script is composed of a plurality of library modules written in the scripting language of the scriptable GUI test tool 10. The test engine is driven by the test data file 16 and calls upon the GUI map 12 and environment definition file 14 during execution. An example of a test engine script is contained on the CDROM appendix as a number of text files in the directory entitled “engine”.

[0049] Turning now to FIG. 2, the driver file (16 in FIG. 1) is preferably created in a spreadsheet application and saved as a comma delimited text file for use with the test engine script (18 in FIG. 1). As shown in FIG. 2, the file is organized into rows of data where each row defines a single test and each column represents a parameter. Occasionally, multiple rows of data are required in order to facilitate or verify the results of an individual test. The data begins with a definition of the default values that are expected for each field (parameter). This single line of data is followed by one or more rows of individual data driven tests. Each row consists of standard fields and the data specific for each field of the object being tested.

[0050] The standard fields include a Test ID, Preamble and Postamble action, Expected (Desired) Result indication and a Comment. Preamble and Postamble actions are usually application specific and represent user actions required to establish a starting point for a test and the action to perform to execute the desired test. The test case ID is reported in the log file for tracking purposes. The expected results field indicates whether the test will pass completely or fail during data entry, during the execution of the postamble or during verification after the postamble action has been executed.

[0051] Data that appears in the individual fields of a data driven test are specific for the parameter, operation or the use of the field. Fields can be ignored, changed, left alone or ignored for Query operations. Data can also represent multiple columns of a table structure.

[0052] More specifically, line 1 includes the directory structure for the specific Excel® tab. Column “D” includes the Version ID for subdirectory management. Column “F” includes the Test Suite Directory name. Column “H” includes the Object ID—or, actually, the Name of the file

[0053] Line 2 begins a History of Change section specific for the tab. Additional rows should be added in order to maintain a reasonable record of the significant changes made to the data in this file. The History record should include the initials of the tester, the date of the change and a brief description of he change.

[0054] Three lines are copied from columns of the parameter tab (FIG. 4). All of the typeCode, logicalName and the fieldposition columns are selected (and copied) from the parameter file and by using paste special with transpose enabled the columns are converted to rows. By selecting Column “G” in the destination file as the paste destination the information is accurately reproduced for reference while generating data for the test cases that will follow.

[0055] The standard data beginning with line 4 in FIG. 2 includes: Column “A”, Test Case identifier; Column “B”, Test Director ID; Column “C”, Preamble Action; Column “D”, Postamble Action; Column “E”, Desired Result Code, Column “F”, Optional Comment; and Column “G”, begins the field names.

[0056] Turning now to FIG. 3, the steps for creating a GUI test driver file are illustrated in a flow chart. The process begins at 100. For the first row of the file starting at 102: a test case ID is defined at 104; an optional TD reference is entered at 106; the preamble action required to open or access the object is entered at 108; the postamble action, if one is required, is specified at 110; the desired result is entered at 112; an optional comment is entered at 114; and valid data for each parameter in the object is entered at 116.

[0057] For the next row starting at 118: a test case ID is defined at 120; an optional TD reference is entered at 122; the preamble action required to open or access the object is entered at 124; the postamble action, if one is required, is specified at 126; the desired result is entered at 128; an optional comment is entered at 130; and “ignore” is entered for each parameter in the object at 132. As described in more detail hereinafter “ignore” is not always required in every field although sometimes it may be necessary.

[0058] In the last row of the test data, END is entered in Column A at 134 and the file is saved at 136. As mentioned above, the file is saved as a comma delimited text file for use with the test engine script. It will be appreciated that the native spreadsheet file will also be saved for further development.

[0059] The test case ID serves two purposes. First, it is used as a trace value in the log file that is created during execution of the test engine providing a means to relate the run results to the driver file input. Secondly, and more importantly, it allows test steps to be grouped into test cases providing a structure for a complete run sequence. A test case numbering convention is utilized to facilitate both of these issues. Normally the first test case facilitates the “Opening” of an object or the initial access to the object to be tested. This test case is usually numbered “0” or “1”. Normally the last test case facilitates the “closing” of the object under test or the exit from the object and it is best to provide a very high number as the Test Case ID e.g. “99999”. Since a test case may actually require more than one step, or row, in the driver file to complete the requirements for a test, it is necessary to be able to group test steps into test cases. This is accomplished by utilizing the following sequence for numbering the Test Case ID. 1.000 Initial step of a sequence for Test Case 1 1.010 Second step of a sequence 1.020 Third step of a sequence 1.025 Second sub step of step 2 of test case 1 1.090 Final step of the sequence for test case 1 2.000 Begin test case 2 2.010 2^(nd) step 2.090 Final Step of test case 2 etc.

[0060] Note that it is possible for any one of the individual steps to be an actual “Test Case” as defined and documented in the Test Director. Therefore, an appropriate TdRef value can be assigned each of the steps. The TdRef value can be reused in each of the sequences since the TestCaseID is unique.

[0061] It is also possible to enter a “skip code” in a test case ID to be able to skip a Test Case. This simplifies editing of the driver file. A skip code is identified at run time to indicate a specific set of test cases that should not be executed. According to one embodiment of the invention, only one skip code is used at a time. According to alternative embodiments of the invention, multiple skip codes could be used and/or codes for performing (rather than skipping) tests are contemplated.

[0062] A reference to Test Director test case name includes the subject path to resolve duplicate test case names.

[0063] The Preamble Action is used to establish the initial conditions for an individual “step”. It is expected that the preamble always works. Examples of preamble actions are: OpenBook, OpenChapter, SelectRow, NoAction, and Reload.

[0064] The Postamble Action defines the user action that will be performed after the data has been entered. Examples of postamble actions are: No Action, Apply, Commit, DeleteRow, Stop, Start, and Restart.

[0065] Expected Results defines what should happen as a result of this test case. The test engine is currently designed to detect only one fault per line. The values of the Expected Result fields are used to determine at which point a fault might (is expected) to occur. The presently preferred values for expected results are as follows:

[0066] =0 All phases of the test are expected to pass,

[0067] =1-999 An error is expected on input/output of the field specified,

[0068] =1000 An error is expected on execution of the Postamble action,

[0069] =1xxx A verification error is expected after the postamble action on field xxx,

[0070] =2000 An error is expected during execution of the Preamble Action.

[0071] The Comment Field is optional and it is used for any necessary comments that helps to clarify a Test Case. It will be appreciated that a comma should not be used in this or any other field since the file will be saved to a comma delimited text file.

[0072] Special Data Values are provided for parameter manipulation. These include:

[0073] default=There is to be no data input into the field but the default value should be expected as a result of the specified action,

[0074] nochange=The value that is in the field as result of the previous action should remain and the same value should be used as the expected result value for the specified parameter,

[0075] ignore=The field will not be changed and it will not be evaluated for expected result verification,

[0076] BlankQuery=The field is marked as NEED4Query in the parameter file but for a specific test case it will not be utilized. This is used when there are two fields that can be used for a query, but only one field is required.

[0077] Turning now to FIG. 5, the basic format of the parameters (environment definition) file is shown in a screen shot of a spreadsheet file. This file provides the abstract details required by the common engine components in order to support common processes for different applications. Because the engine is not hard coded to know the details of the application or object (logical grouping of data for an application), specific variables must be initialized and defined as external data. Throughout the common engine functions, a reference to the array structure called “VitalInfo”, is used to access these object specific variables. Information such as Application Name, Launch Menu, Primary Window identification, Tab and related tab windows are identified in the “Environment” section of this file.

[0078] The individual fields that appear in the application object are also defined in this file using the “Parameters” section. The behavior of the parameter is defined by assigning a “Type” definition that has already been implemented in the test engine. It is possible to maintain application version compatibility in a single environment file by identifying parameter elements that are new to a specific version of an application. The values found in this file are tightly bound to the logical names that are used in the GUI map.

[0079] The definition of each object to be tested includes logical names, menus, expected windows, tab window names, links, and object attributes. The parameter value types include edit, checkbox, list, displayonly, radio, and other types for specific applications

[0080] In particular, the parameter section of the file includes typecode as supported by the test engine, logicalname as defined by the GUI map, fieldposition in numerical order, WinTabID (an environment reference to the tab that the field appears on), querycode indicating the field which is used for query operations, and VersionID.

[0081] The specific file structure definitions for the parameters file include:

[0082] Column “D1”

[0083] VersionID =>For subdirectory management

[0084] Column “F1”

[0085] SystemDB =>Usually “Parameter”

[0086] Column “H1”

[0087] Object ID =>Name of the file or ID

[0088] HOC =>Author & Date

[0089] Referring now to FIG. 5, the creation of a parameter file is begun at 200. At 202, the GUI macro, the tab save macro, and an existing parameter file are copied to a directory named xlsMasters. At 204, the object GUI map is opened in Microsoft® Excel® and the GUI macro is executed. The result is copied and pasted into the parameter file at 206. The environment section of the file is updated at 208. The parameter section is built at 210 and the file structure is updated at 212. The file is saved at 214 using the tab save macro.

[0090] As mentioned above, an exemplary test engine script is provided on the CDROM appendix in the directory entitled “engine”. The script includes several files and functions which are described generally as follows. Details of the functionality and the operation or use of these library functions can be found in the header section of each module and/or function within each module. Each module also contains a HOC (History of Change) section.

[0091] The file entitled “Actions” contains the functions to handle the PreAmble and PostAmble actions of the test cases.

[0092] The function “ApplicationSpecific” contains general functions that are always application specific. These functions are utilized by other modules of the test engine script. They must always be modified for specific operation of the application being tested.

[0093] The file entitled “Common2All” contains functions for all common procedure test cases. This module controls the main flow and logic for the test engine.

[0094] The file entitled “General” contains miscellaneous functions to handle loading of GUI map files, opening of the specific test object, file I/O and several wait functions required during test execution.

[0095] The function “EngineInit” is loaded automatically by WinRunner® (per the wrun.ini file). It initializes the physical GUI recognition parameters that have been carefully defined for the application. Usually this module applies to ALL versions of the application under test.

[0096] The file entitled “ParmSetCheck” has two functions ‘SetField’ and ‘CheckField’ which are used to handle the field value assignment and validation based on the input data. Application specific processing must be provided for recognizing error and success conditions.

[0097] The file “SiteInitVxx” varies between testers at each different test site (workstation/PC and User). It contains several global variable definitions that allow the individual tester to specify alternate parameters and characteristics that may be unique to the location and or purpose of the test (e.g. test engine development as compared to test execution). Most variables are defined as a constant in this file in order to insure that they do not get overwritten during test processing.

[0098] The file entitled “TestInit” defines all global variables required by the test engine.

[0099] The file “CustomSupport” provides the parameter Set and Check functions required to support the Custom Grid Objects Tables or other 3rd party vendor supplied object constructions or class structures.

[0100] The file entitled “obj_main” provides the interface between the individual Batch files and the test engine. Primarily it creates and initializes some more complicated path variables based on previous definitions and the formal parameter that defines the “Object Under Test”; forces a reload of the necessary library modules; and initializes the environment, exception handling and the main test engine.

[0101] The function “PrePostActions_Init” declares and initializes global variables that are usually application specific for the recognition and processing of user actions. The values defined here are used in the test data drive files and are processed in the module entitled “Actions”.

[0102] The file entitled “Setbaselines” uses as input the Parameter File (environment and parameter definitions) for the Object Under Test. The information from the parameter file is read into specific test engine data structures in order to establish the “Environment” required by the test engine. The data in the parameter file also defines the structure of the required data drive files.

[0103] The file “PopUpHandler” contains functions that are used throughout the test engine. These functions are specific to dealing with pop-up windows that are presented to the user during the course of the operation of the application under test. Most of the logic in this module is application specific although the functions themselves are test engine specific. Initialization, activation, deactivation, recognition and processing of Error, Warning and Information pop-up windows is provided.

[0104] There have been described and illustrated herein methods and apparatus for environment based data driven testing of computer programs which have a graphical user interface (GUI). While particular embodiments of the invention have been described, it is not intended that the invention be limited thereto, as it is intended that the invention be as broad in scope as the art will allow and that the specification be read likewise. It will therefore be appreciated by those skilled in the art that yet other modifications could be made to the provided invention without deviating from its spirit and scope as so claimed. 

What is claimed is:
 1. A system for testing the graphical user interface (GUI) of a software application comprising: a) a scriptable GUI test tool which generates a GUI map; b) at least one environment definition file; c) at least one test data file; and d) an automated test engine script, said automated test script interacting with said scriptable GUI test tool and reading from said at least one environmental definition file and said at least one test data file.
 2. The system according to claim 1, wherein: said automated test engine script is driven by said at least one test data file.
 3. The system according to claim 1, wherein: said at least one environment definition file includes a separate environment definition file for each feature of the GUI.
 4. The system according to claim 3, wherein: each environment definition file provides abstract details required by said automated test engine script in order to support common processes for different applications.
 5. The system according to claim 1, wherein: specific variables are initialized and defined as external data via said at least one environment definition file.
 6. The system according to claim 1, wherein: each of said at least one environment definition file includes an environment part and a parameters part.
 7. The system according to claim 6, wherein: said environment part includes Application Name, Launch Menu, Primary Window identification, Tab and related tab windows.
 8. The system according to claim 6, wherein: said parameters part include individual fields that appear in an application object.
 9. The system according to claim 8, wherein: the behavior of a parameter is defined by assigning a “Type” definition that has already been implemented in said automated test engine script.
 10. The system according to claim 1, wherein: it is possible to maintain application version compatibility in a single one of said at least one environment definition file by identifying parameter elements that are new to a specific version of an application.
 11. The system according to claim 1, wherein: values found in said at least one environment definition file are tightly bound to logical names that are used in said GUI map.
 12. The system according to claim 1, wherein: said at least one test data file is organized into rows and columns of data where each row defines a single test and each column represents a parameter.
 13. The system according to claim 12, wherein: multiple rows of data in said at least one test data file are required in order to facilitate or verify the results of an individual test.
 14. The system according to claim 13, wherein: each of said multiple rows of data begins with a first line of data containing a definition of default values that are expected for each parameter.
 15. The system according to claim 14, wherein: said first line of data is followed by one or more rows of individual data driven tests.
 16. The system according to claim 15, wherein: each of said one or more rows includes standard fields and data specific for each field of an object being tested.
 17. The system according to claim 16, wherein: said standard fields include a Test ID, Preamble and Postamble action, Expected Result indication and a Comment.
 18. The system according to claim 17, wherein: Preamble and Postamble actions are application specific and represent user actions required to establish a starting point for a test and an action to perform to execute a desired test.
 19. The system according to claim 17, wherein: Test ID is reported in a log file for tracking purposes.
 20. The system according to claim 17, wherein: said expected result field indicates whether a test will pass completely or fail during data entry, during the execution of the postamble or during verification after the postamble action has been executed.
 21. The system according to claim 16, wherein: data that appears in individual fields of a data driven test are specific for a parameter, operation or use of said field.
 22. The system according to claim 21, wherein: said fields can be ignored, changed, left alone or ignored for Query operations.
 23. The system according to claim 22, wherein: data can also represent multiple columns of a table structure.
 24. The system according to claim 1, wherein: said automated test engine script includes a plurality of library modules written in the scripting language of the scriptable GUI test tool.
 25. The system according to claim 1, wherein: said automated test engine script is driven by said test data file and calls upon said GUI map and said environment definition file.
 26. The system according to claim 1, wherein: said scriptable GUI test tool is WinRunner®.
 27. The system according to claim 1, wherein: said environment definition files and said test data files are generated with a spreadsheet program and saved as comma delimited text files.
 28. A method for testing the graphical user interface (GUI) of a software application comprising: a) generating a GUI map with a scriptable GUI test tool; b) generating an environment definition file; c) generating a test data file; and d) generating an automated test engine script, wherein the automated test script interacts with the scriptable GUI test tool and reads from the environmental definition file and the test data file.
 29. The method according to claim 28, wherein: the automated test engine script is driven by the test data file.
 30. The method according to claim 28, wherein: said step of generating an environment definition file includes generating a separate environment definition file for each feature of the GUI.
 31. The method according to claim 30, wherein: each environment definition file provides abstract details required by the automated test engine script in order to support common processes for different applications.
 32. The method according to claim 28, wherein: specific variables are initialized and defined as external data via the environment definition file.
 33. The method according to claim 28, wherein: the environment definition file includes an environment part and a parameters part.
 34. The method according to claim 33, wherein: the environment part includes Application Name, Launch Menu, Primary Window identification, Tab and related tab windows.
 35. The method according to claim 33, wherein: the parameters part include individual fields that appear in an application object.
 36. The method according to claim 35, wherein: the behavior of a parameter is defined by assigning a “Type” definition that has already been implemented in the automated test engine script.
 37. The method according to claim 28, wherein: application version compatibility is maintained in a single environment definition file by identifying parameter elements that are new to a specific version of an application.
 38. The method according to claim 28, wherein: values found in the environment definition file are tightly bound to logical names that are used in the GUI map.
 39. The method according to claim 28, wherein: the test data file is organized into rows and columns of data where each row defines a single test and each column represents a parameter.
 40. The method according to claim 39, wherein: multiple rows of data in the test data file are required in order to facilitate or verify the results of an individual test.
 41. The method according to claim 40, wherein: each of the multiple rows of data begins with a first line of data containing a definition of default values that are expected for each parameter.
 42. The method according to claim 41, wherein: the first line of data is followed by one or more rows of individual data driven tests.
 43. The method according to claim 42, wherein: each of the one or more rows includes standard fields and data specific for each field of an object being tested.
 44. The method according to claim 43, wherein: the standard fields include a Test ID, Preamble and Postamble action, Expected Result indication and a Comment.
 45. The method according to claim 44, wherein: Preamble and Postamble actions are application specific and represent user actions required to establish a starting point for a test and an action to perform to execute a desired test.
 46. The method according to claim 44, wherein: Test ID is reported in a log file for tracking purposes.
 47. The method according to claim 44, wherein: the expected result field indicates whether a test will pass completely or fail during data entry, during the execution of the postamble or during verification after the postamble action has been executed.
 48. The method according to claim 43, wherein: data that appears in individual fields of a data driven test are specific for a parameter, operation or use of the field.
 49. The method according to claim 48, wherein: the fields are one of ignored, changed, left alone or ignored for Query operations.
 50. The method according to claim 49, wherein: data represents multiple columns of a table structure.
 51. The method according to claim 28, wherein: the automated test engine script includes a plurality of library modules written in the scripting language of the scriptable GUI test tool.
 52. The method according to claim 28, wherein: the automated test engine script is driven by the test data file and calls upon the GUI map and the environment definition file.
 53. The method according to claim 27, wherein: the scriptable GUI test tool is WinRunner®.
 54. The method according to claim 27, wherein: the environment definition files and the test data files are generated with a spreadsheet program and saved as comma delimited text files. 